package com.reverie.service;

import cn.hutool.core.lang.tree.Tree;
import com.baomidou.mybatisplus.extension.service.IService;
import com.reverie.entity.Org;

import java.util.List;

public interface IOrgService extends IService<Org> {
    List<Tree<String>> getOrgTree();

    List<Org> listByParentId(Integer parentId);
}
